package cn.wolfcode.trip.base.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JsonResult {
    private boolean success=true;
    private String errorMsg;
    private Object data;
    private Object user;

    public void mark(String errorMsg){
        this.success=false;
        this.errorMsg=errorMsg;
    }

}
